package cool.taomu.toolkit.kademlia.module

import com.google.inject.AbstractModule
import cool.taomu.toolkit.kademlia.provider.RoutingTableProvider
import cool.taomu.toolkit.kademlia.service.RoutingTable

class KademliaModule extends AbstractModule {
	
	override configure() {
		bind(RoutingTable).toProvider(RoutingTableProvider).asEagerSingleton
	}
}
